.
Summary
C# Signature:
[DllImport("user32.dll", SetLastError = true)]
static extern Boolean AdjustWindowRect([Out] RECT lpRect, UInt32 dwStyle, bool bMenu);
VB.Net Signature:
<DllImport("user32.dll")> _
Shared Function AdjustWindowRect(ByRef lpRect As RECT, ByVal dwStyle As UInteger, ByVal bMenu As Boolean) As Boolean
End Function
User-Defined Types:
RECT
Notes:
http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/adjustwindowrect.asp
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
Documentation
The AdjustWindowRect API
8/4/2022 12:42:08 AM - timur.kelman+pinvoke@gmail.com-79.193.218.180
The RECT structure defines the coordinates of the upper-left and lower-right corners of a rectangle.
6/3/2013 5:41:04 PM - dahminator-75.174.65.168